/* 重置基础，让样式更可控 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.login-wrapper {
  /* 让登录框在页面完全居中，简约常用布局 */
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh; 
  /* 浅蓝渐变背景，比纯色更有层次但不复杂 */
  background: linear-gradient(135deg, #e3f2fd, #bbdefb); 
}

.login-container {
  width: 320px; /* 适度收窄，更紧凑 */
  background: #fff;
  padding: 24px 32px; 
  border-radius: 6px; /* 缩小圆角，更简约 */
  box-shadow: 0 2px 8px rgba(0,0,0,0.08); /* 弱化阴影，更干净 */
}

.login-title {
  text-align: center;
  font-size: 1.25rem; /* 稍小字号，适配紧凑布局 */
  color: #1976d2; /* 品牌色，和按钮呼应 */
  margin-bottom: 20px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.input-group {
  width: 100%;
}

.password-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cfd8dc; /* 浅灰边框，更柔和 */
  border-radius: 4px; /* 缩小输入框圆角 */
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.password-input:focus {
  border-color: #1976d2; /* 聚焦时用品牌色强调 */
}

.login-button {
  padding: 10px;
  background: #1976d2; 
  color: #fff;
  border: none;
  border-radius: 4px; /* 缩小按钮圆角 */
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.2s ease;
}

.login-button:hover {
  background: #1565c0; /* hover 时加深品牌色 */
}

.error-message {
  color: #f44336; /* 显眼的错误红 */
  font-size: 0.85rem;
  text-align: center;
  margin-top: -8px;
}